package com.hd.openapi.common;

/**
 * @author: COS
 * @time: 2021/11/23 16:37
 * @description:
 */

public enum ResponseCode {
    SUCCESS(0,true,"success"),FAIL(1,false,"fail");
    private int code;
    private boolean status;
    private String common;

    ResponseCode() {
    }

    ResponseCode(int code, boolean status, String common) {
        this.code = code;
        this.status = status;
        this.common = common;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public boolean getStatus() {
        return status;
    }

    public void setStatus(boolean status) {
        this.status = status;
    }

    public String getCommon() {
        return common;
    }

    public void setCommon(String common) {
        this.common = common;
    }
}
